/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.com.proteu.hibernate.beans;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 *
 * @author ricardo
 */
@Entity
@Table(name="CONSULTASVALORES")
public class ConsultasValoresProteu implements Serializable{

    @Id
    @Column(name="COV_ST_CODIGO")
    private String covStCodigo;
    @Id
    @Column(name="CON_ST_CODIGO")
    private String conStCodigo;

    @Column(name="COV_ST_DESCRICAO")
    private String covStDescricao;
    @Column(name="COV_DT_INICIAL")
    private String covDtInicial;
    @Column(name="COV_DT_FINAL")
    private String covDtFinal;
    @Column(name="COV_FL_VALOR_CONSULTA")
    private String covFlValorConsulta;
    @Column(name="COV_SYS_DATA")
    private String covSysData;
    @Column(name="COV_SYS_USUARIO")
    private String covSysUsuario;


    public String getConStCodigo() {
        return conStCodigo;
    }

    public void setConStCodigo(String conStCodigo) {
        this.conStCodigo = conStCodigo;
    }

    public String getCovDtFinal() {
        return covDtFinal;
    }

    public void setCovDtFinal(String covDtFinal) {
        this.covDtFinal = covDtFinal;
    }

    public String getCovDtInicial() {
        return covDtInicial;
    }

    public void setCovDtInicial(String covDtInicial) {
        this.covDtInicial = covDtInicial;
    }

    public String getCovFlValorConsulta() {
        return covFlValorConsulta;
    }

    public void setCovFlValorConsulta(String covFlValorConsulta) {
        this.covFlValorConsulta = covFlValorConsulta;
    }

    public String getCovStCodigo() {
        return covStCodigo;
    }

    public void setCovStCodigo(String covStCodigo) {
        this.covStCodigo = covStCodigo;
    }

    public String getCovStDescricao() {
        return covStDescricao;
    }

    public void setCovStDescricao(String covStDescricao) {
        this.covStDescricao = covStDescricao;
    }

    public String getCovSysData() {
        return covSysData;
    }

    public void setCovSysData(String covSysData) {
        this.covSysData = covSysData;
    }

    public String getCovSysUsuario() {
        return covSysUsuario;
    }

    public void setCovSysUsuario(String covSysUsuario) {
        this.covSysUsuario = covSysUsuario;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final ConsultasValoresProteu other = (ConsultasValoresProteu) obj;
        if ((this.covStCodigo == null) ? (other.covStCodigo != null) : !this.covStCodigo.equals(other.covStCodigo)) {
            return false;
        }
        if ((this.conStCodigo == null) ? (other.conStCodigo != null) : !this.conStCodigo.equals(other.conStCodigo)) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 3;
        hash = 13 * hash + (this.covStCodigo != null ? this.covStCodigo.hashCode() : 0);
        hash = 13 * hash + (this.conStCodigo != null ? this.conStCodigo.hashCode() : 0);
        return hash;
    }

    

}
